<div class="r0 p10 pt0 col-xs-12" ng-controller="detailCtrl">
    <div class="col-xs-12 p0">
        <form ng-submit="submitForm('user/projectUser/addOrUpdate.do')">
            <table class="table table-bordered">
                <tr>
                    <td class="tc">项目名</td>
                    <td colspan="4">
                        <input class="form-control" type="text" ng-model="model.projectName" readonly>
                    </td>
                </tr>
                <tr>
                    <td class="tc">用户名</td>
                    <td colspan="4">
                        <input class="form-control" type="text" ng-model="model.userName" readonly>
                    </td>
                </tr>
                <tr>
                    <td class="tc">用户邮箱</td>
                    <td colspan="4">
                        <input class="form-control" type="text" ng-model="model.userEmail" readonly>
                    </td>
                </tr>
                <tr>
                    <td class="tc">用户邮箱</td>
                    <td colspan="4">
                        *输入邮箱或昵称，点击搜索查询用户，长度必须大于等于4
                        <div class="input-group w">
                            <input class="form-control" type="text" id="userName" required
                                   ng-model="model.userName" placeholder="请输入邮箱或昵称">
                            <div class="input-group-addon cursor btn-purple"
                                 ng-click="loadPickByName('iwidth=260|iheight=300|tagName=userName|tag=userId|code=USER|def='+model.userId+'&key='+model.userName,$event)">
                                搜索
                            </div>
                        </div>
                    </td>
                </tr>
                <tr class="fb">
                    <td class="tc">模块权限</td>
                    <td class="tc">
                        修改：&nbsp;
                        <input type="radio" value="true" ng-checked="model.modModule==true" ng-model="model.modModule"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.modModule==false"
                               ng-model="model.modModule"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                    <td class="tc">
                        添加：&nbsp;
                        <input type="radio" value="true" ng-checked="model.addModule==true" ng-model="model.addModule"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.addModule==false"
                               ng-model="model.addModule"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                    <td class="tc">
                        删除：&nbsp;
                        <input type="radio" value="true" ng-checked="model.delModule==true" ng-model="model.delModule"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.delModule==false"
                               ng-model="model.delModule"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                </tr>
                <tr class="fb">
                    <td class="tc">接口权限</td>
                    <td class="tc">
                        修改：&nbsp;
                        <input type="radio" value="true" ng-checked="model.modInter==true" ng-model="model.modInter"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.modInter==false" ng-model="model.modInter"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                    <td class="tc">
                        添加：&nbsp;
                        <input type="radio" value="true" ng-checked="model.addInter==true" ng-model="model.addInter"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.addInter==false" ng-model="model.addInter"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                    <td class="tc">
                        删除：&nbsp;
                        <input type="radio" value="true" ng-checked="model.delInter==true" ng-model="model.delInter"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.delInter==false" ng-model="model.delInter"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                </tr>

                <tr class="fb">
                    <td class="tc">文章权限</td>
                    <td class="tc">
                        修改：&nbsp;
                        <input type="radio" value="true" ng-checked="model.modArticle==true"
                               ng-model="model.modArticle"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.modArticle==false"
                               ng-model="model.modArticle"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                    <td class="tc">
                        添加：&nbsp;
                        <input type="radio" value="true" ng-checked="model.addArticle==true"
                               ng-model="model.addArticle"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.addArticle==false"
                               ng-model="model.addArticle"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                    <td class="tc">
                        删除：&nbsp;
                        <input type="radio" value="true" ng-checked="model.delArticle==true"
                               ng-model="model.delArticle"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.delArticle==false"
                               ng-model="model.delArticle"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                </tr>

                <tr class="fb">
                    <td class="tc">数据字典权限</td>
                    <td class="tc">
                        修改：&nbsp;
                        <input type="radio" value="true" ng-checked="model.modDict==true" ng-model="model.modDict"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.modDict==false" ng-model="model.modDict"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                    <td class="tc">
                        添加：&nbsp;
                        <input type="radio" value="true" ng-checked="model.addDict==true" ng-model="model.addDict"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.addDict==false" ng-model="model.addDict"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                    <td class="tc">
                        删除：&nbsp;
                        <input type="radio" value="true" ng-checked="model.delDict==true" ng-model="model.delDict"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.delDict==false" ng-model="model.delDict"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                </tr>


                <tr class="fb">
                    <td class="tc">资源权限</td>
                    <td class="tc">
                        修改：&nbsp;
                        <input type="radio" value="true" ng-checked="model.modSource==true" ng-model="model.modSource"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.modSource==false"
                               ng-model="model.modSource"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                    <td class="tc">
                        添加：&nbsp;
                        <input type="radio" value="true" ng-checked="model.addSource==true" ng-model="model.addSource"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.addSource==false"
                               ng-model="model.addSource"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                    <td class="tc">
                        删除：&nbsp;
                        <input type="radio" value="true" ng-checked="model.delSource==true" ng-model="model.delSource"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.delSource==false"
                               ng-model="model.delSource"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                </tr>

                <tr class="fb">
                    <td class="tc">错误码权限</td>
                    <td class="tc">
                        修改：&nbsp;
                        <input type="radio" value="true" ng-checked="model.modError==true" ng-model="model.modError"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.modError==false" ng-model="model.modError"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                    <td class="tc">
                        添加：&nbsp;
                        <input type="radio" value="true" ng-checked="model.addError==true" ng-model="model.addError"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.addError==false" ng-model="model.addError"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                    <td class="tc">
                        删除：&nbsp;
                        <input type="radio" value="true" ng-checked="model.delError==true" ng-model="model.delError"/>
                        &nbsp;<span class="true-class f12">允许</span>&nbsp;
                        <input type="radio" value="false" ng-checked="model.delError==false" ng-model="model.delError"/>
                        &nbsp;<span class="false-class f12">不允许</span>&nbsp;
                    </td>
                </tr>

            </table>
            <button type="submit" class="btn btn-success fr">提交</button>
        </form>


    </div>
</div>
<div class="cb"></div>

